package cn.com.unionlife.hy.media.service;

import cn.com.unionlife.hy.core.exception.BusinessException;
import cn.com.unionlife.hy.media.vo.MediaVO;

public interface MediaTranService {

	/**
	 * 添加媒体
	 * @param vo
	 * @return
	 */
	public MediaVO addMedia(MediaVO vo) throws BusinessException;
	 
	/**
	 * 根据ID删除媒体
	 * @param id
	 */
	public void deleteMediaById(Long id) throws BusinessException;
	
	
	public MediaVO updateMedia(MediaVO vo) throws BusinessException;
}
